package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyWlCheliang;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface BtyWlCheliangMapper extends BaseMapper<BtyWlCheliang> {

    /**
     * 获取首页列表
     * @param page
     * @param btyWlCheliang
     * @return
     */
    Page<Map<String, Object>> list(@Param("page") Page page, @Param("btyWlCheliang") BtyWlCheliang btyWlCheliang);

    /**
     * 新增数据
     * @param btyWlCheliang
     */
    void add(BtyWlCheliang btyWlCheliang);
}
